package cn.hdu.liang;


import java.util.Arrays;
import java.util.IntSummaryStatistics;
import java.util.Scanner;


public class Solution {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] nums = sc.nextLine().split(" ");
        IntSummaryStatistics stat =
                Arrays.stream(nums).mapToInt(Integer::parseInt).summaryStatistics();
        System.out.println("最大值 = " + stat.getMax());
        System.out.println("最小值 = " + stat.getMin());
        System.out.println("平均值 = " + stat.getAverage());
    }
}